package com.netcracker.lab1.model;


import java.io.*;
import java.math.BigInteger;
import java.util.HashMap;

/**
 * Created with IntelliJ IDEA.
 * User: nocturne
 * Date: 29.12.12
 * Time: 23:50
 * To change this template use File | Settings | File Templates.
 */
public class MusicTrack implements Serializable {

    private static final long serialVersionUID = 1L;

    private int id;
    private String title;
    private String author;
    private String album;
    private Integer genre;
    private int duration;

    public MusicTrack(int id) {
        this.id = id;
    }

/*    protected MusicTrack(Integer id, String title, String author, String album, Integer genre, int duration) {
        this.id = id;
        this.title = title;
        this.author = author;
        this.album = album;
        this.genre = genre;
        this.duration = duration;
    }*/


    /* getters and setters */
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getAlbum() {
        return album;
    }

    public void setAlbum(String album) {
        this.album = album;
    }

    public Integer getGenre() {
        return genre;
    }

    public void setGenre(Integer genre) {
        this.genre = genre;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


}
